package com.lemzdo.community.service;

import com.lemzdo.community.model.User;

import java.util.List;

public interface UserService {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectByToken(String token);

    void createOrUpdate(User user);

    List<User> selectUsersByUserIds(List<Integer> userIds);
}
